import http from "../utils/http2.js";

export function savemsg (data) {
  return http.post("/v1/message/save", data);
}

export function querymsg (data) {
  return http.post("/v1/message/query", data);
}

export function deletemsg (id) {
  return http.delete("/v1/message/del", id);
}

export function updatemsg(data) {
  return http.put("/v1/message/update", data);
}
